package fuckTest;

import java.util.*;

/**
 * Created by Administrator on 2017/7/18.
 */
public class Demo1 {

    public static void main(String[] args) {

        byte a = 'a';
        Byte b = 2;
        final byte c = 4, d = 5;
        b = d+c;
        System.out.println(a + "-+-" + b);
        System.out.println(getClassType(a));
        System.out.println(getClassType(b));
        System.out.println(getClassType(a+b));
        System.out.println(getClassType(a+c));
        System.out.println(getClassType(d+c));
        System.out.println(getClassType(c+a));

    }

    static String getClassType(Object o) {
        return o.getClass().toString();
    }


}
